package com.xjh.basestudy.designmode.structureMode.structureMode7_Bridge;

/**
 * @author XuJianHua
 * @date 2022-09-26 17:16:31
 * @description

 */
public abstract class Pen {


    protected Ruler ruler;//尺子的引用

    public Pen(Ruler ruler) {
        this.ruler = ruler;
    }

    public abstract void draw();//抽象方法
}
